#ifndef WIDGET_H
#define WIDGET_H

#include <QGridLayout>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QWidget>

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

public:
    void GetHostInformationFunc();

private:
    void SlotDtail();

private:
    QLabel *HLabel, *ILabel;
    QLineEdit *hlHostName, *hlHostAddress;
    QPushButton *DetailButton;
    QGridLayout *mLayout;
};
#endif // WIDGET_H
